const WbComponentDatas = {
  "submit": {
    "controlId": "submit",
    "id": "",
    "name": "提交表单",
    "type": "submit",
    "data": {
      "day_limit": 0,//不限制
      "relateCompId": '',  // 关联id 表单中的关联id用来统计表单提交与关联组件的关系, 比如抽奖后是否提交过表单
      "uid_require": false, // 是否需要uid
    }
  },
  "smsVerification": {
  },
  "site": {
    "controlId": "site",
    "id": "",
    "name": "站点数据",
    "type": "site",
    //自定义键值
   "data": {
    "key": "num",
    "value": "0",
   }
  },
  "customUser": {
    "controlId": "customUser",
    "id": "",
    "name": "自定义用户信息",
    "type": "customUser",
    "data": {
      "key": "num",
      "value": "0",
     }
  },
  "timer": {
    "controlId": "timer",
    "id": "",
    "name": "计时",
    "type": "timer",
    "data": {
      "time": "",
      "endTime": "",
      "countdown":"0",//倒计时秒数
      "type": 1,//倒计时1 正计时2 活动计时3,
      "popId": 0,
      "days": 0,
    }
  },
  "1001": {
    "controlId": "1001",
    "id": "",
    "name": "投票",
    "type": "vote",
    "data": {
      "syn_com_id": "",//关联初始化组件id 前端用来在别的组件上获取或是触发另一个组件的事件
      "syn_vote_ids": "",//关联组件中的投票的ids
      "day_limit": 5,
      "vote_coefficient": 1,
      "isUid": false,//统一接口，用来记录用户参与记录次数
      'elements': {
        // '1': {'base':0,'total':0,'num': 0,'progress':0,'voteId':index+1},
      },
    }
  },
  "1002": {
    "controlId": "1002",
    "id": "",
    "name": "计数",
    "type": "number",
    "data": {
      "isDynamic": false,//根据前端条件动态这是onceGrowValue，vipOnceGrowValue这两个值，会在参数中传过去
      "groupKey": '',//分组key，在站点数据的controlData{number:{group_0:5}}中
      // "activityType": '',//活动的键值GENERAL_TYPES
      "day_default": '',//每天缺省增加的计数
      "syn_com_id":'',//触发计数组件的关联组件id
      "isUid": false,//统一接口，用来记录用户参与记录次数
      "total": 100,
      "total_limit": 0,
      "base": 0,
      "day_limit": 3,
      "num": "0",
      "progress": 0,
      "onceGrowValue": 1,//每次增加或减少值 2
      "vipOnceGrowValue": 1,//每次增加或减少值 5
    }
  },
  "1003": {
    "id": "",
    "controlId": "1003",
    "name": "微博转发",
    "type": "repost",
    "data": {
      "day_limit": 4,
      "mid": "",
      "elements": [{
        "text": "",
        "uid": "",
      }]
    }
  },
  "1004": {
    "id": "",
    "controlId": "1004",
    "name": "发布博文",
    "type": "push",
    "data": {
      "day_limit": 4,//每天限制发送的博文条数
      "failText": '',//别的接口失败后博文发送内容
      "isRandomPush": true,//多博文随机发送
      "isRandom": false,//多博文
      "isSame": true,//发博后的图片在前端动态图片中显示
      "isGiveOther": false,//加载随机pushIndex给呼起发博框或是另一个发博事件使用
      "isGetOther": false,//获取关联组件中设置的pushIndex
      "relateCompId": '',//设置关联发博组件的pushIndex
      "isReplaceShareData": false,//是否替换别的组件中设置为动态的图片
      "elements": [{
        "mid": "",//给某个mid触发原发博文
        "text": "",//发博的内容
        "isPic": false,//发博是否带图
        "isRandomPic": false,//发博是否随机图片
        "url": '',//前端显示图片
        "pics": []//{"pic_id":"","pic_url":""}
      }],
    }
  },
  "1005": {
    "id": "",
    "controlId": "1005",
    "name": "微博私信",
    "type": "msg",
    "data": {
      "send_uid": "",
      "rec_uid": "",
      "elements": [
        "博文文案1",
      ]
    }
  },
  "1006": {
    "id": "",
    "controlId": "1006",
    "name": "微博赞",
    "type": "praise",
    "data": {
      "mid": "",
      "day_limit": ""
    }
  },
  "1007": {
    "id": "",
    "controlId": "1007",
    "name": "微博关注",
    "type": "wb_follow",
    "data": {
      "follow_uid": "",
      "follow_topi": "",//follow_topic=王者荣耀,桑启,艾琳
      "relateCompId": "",//关联组件id，获取follow_topi的值
     }
  },
  "1008": {
    "id": "",
    "controlId": "1008",
    "name": "微博红包",
    "type": "packet",
		"data":{
			"type": "", //类型,下拉选择, 值为msg,self
			"eid": "", //eid,文本
			"url": "", //短链,文本
			"gid": "", //gid,文本
			"send_uid": "", //运营主体uid,文本
			"starttime": "", //开始时间,申请sign的时候用,只做备注记录,对前端没实际作用
			"endtime": "", //结束时间,申请sign的时候用,只做备注记录,对前端没实际作用
			"sign": "", //签名,文本,需要后端去生成
			"share": "", //拆包时是否发博,值为y或者n,下拉
		}
	},
  "1009": {
    "id": "",
    "controlId": "1009",
    "name": "抽奖",
    "type": "lottery",
    "data": {
      "isNeedUserLevel": false,//抽奖是否需要等级要求
      "sdate": '',
      "edate": '',
      "lucky_base": "",
      "day_limit": 1,
      "num_com_id": "",//抽奖 验证计数组件id
      "numberLimit": "",//抽奖 验证天数
      "lotteryNumLimit": 1,//中奖次数限制
      "lotteryTotalLimit": 30,//抽奖总次数限制
      "relateCompId": "",//这个是在抽奖后修改发博的组件数据的关联id，将抽奖后的图片内容给发博使用 
      "elements": [{
        "gift_id": "分配随机id",
        "gift_name": "奖品名称1",
        "gift_daylimit": 2,
        "gift_totallimit": 2,
        "gift_percent": 2,
        "lucky_lv": "限制微博等级(小于不可中奖),预留",
        "luck_zizhi": "是否限制微博资质1是0否,预留",
        "pic_url": 'https://static.hd.xxx.com/jye/fe-web/images/default-img.png',
        "popId": 0,
      }],
      // "tip_ok": "中奖结果文案",
      // "tip_fail": "未中奖结果文案",
    }
  },
  "1010": {
    "id": "",
    "controlId": "1010",
    "name": "转发博文组",
    "type": "cardlist",
    "data": {
      "mid": "",
      "text": "",
      "elements": [{
        "link": "",
        "mid": "",
        "mids": "",
        "uid": "",
        "name": "@xx",
        "pic_url": "https://static.hd.xxx.com/jye/fe-web/images/share-weibo.png",
        "text": "",//mid获取的博文内容
        'url': 'https://static.hd.xxx.com/jye/fe-web/images/default-img.png',
        'foldUrl': '',
        'post_url':'https://static.hd.xxx.com/jye/fe-web/images/default-img.png',
        "follow_uid": '',
        "push_text": '',//发布博文或者是默认博文内容
        "push_title": '',
        "reposts_count": "0",//转发数
        "comments_count": "0",//评论数
        "attitudes_count": "0",//点赞数
        "user": {"name":"xx"},
        "userDescription": "",
      }]
    }
  },
  "1011": {
    "id": "",
    "controlId": "1011",
    "name": "好友排行榜",
    "type": "rank_friend",
    "data": {
      "relateCompId": "",//关联触发组件id 获取七夕好友能量排行榜 及 计数排行榜 初始化和触发不在一个组件上
      "rankType": 0,//0 是好友列表， 1是七夕能量排行
      "elements": [
        {
          "name": "@xxxxxxxxxxx",
          "pic_url": "https://static.hd.xxx.com/jye/fe-web/images/default-head.png",
          "progress": 0,
          "num": 0,
          "uid":""
        },
      ],
    }
  },
  "1012": {
    "id": "",
    "controlId": "1012",
    "name": "获取通用",
    "type": "judge_right_wrong",
    "data": {
      "ele_key": "",//gaobai tree lotteryForm scoreForm arearank area puzzle draw baoming randbm formrandlist
      "relateCompId": "",//关联触发组件id
      "area_code": '',
      "area": {},
      "elements": [
        {
          "mid": "",
          "name": "@xxxxxxxxxxx",
          "pic_url": "https://static.hd.xxx.com/jye/fe-web/images/default-head.png",
          "uid": "",
        }
      ],
    }
  },
  "1013": {
    "id": "",
    "controlId": "1013",
    "name": "用户信息",
    "type": "user",
    "data": {
      "namePrefix": "",
      "customParams": "",//配置获取用户数据规则{'random':true,length:5}
      "isFollowByIndex": false,
      // "relateCompId": '',//设置关联组件的index
      "elements": [
        {
          "uid": "",
          "name": "@xx",
          "avatar_large": "https://static.hd.xxx.com/jye/fe-web/images/default-head.png",
          "frontPicUrl": "",
          "jumpLink": "",
        },
      ],
    }
  },
  "1014": {
    "id": "",
    "controlId": "1014",
    "name": "活动信息",
    "type": "activity_info",
    "data": {
      "activityType": "", //1是七夕活动 tree lotteryForm scoreForm arearank area puzzle draw baoming randbm formrandlist
      "isJoin": false, //是否参加了活动
      "jumpPageId":'', //跳转页面
      "jumpPopId":'', //跳转弹层
      "relateCompId":'', //表单关联组件id或是别的活动信息关联组件id
      "params": '', //自定义参数
    }
  },
  "1015": {
    "id": "",
    "controlId": "1015",
    "name": "通用接口",
    "type": "general",
    "data": {
      "ele_key": "",//tree lotteryForm scoreForm arearank area puzzle draw baoming randbm formrandlist
      "relateCompId": "",
      "getCompId": "",//获取关联组件id数据
      "ext_1": '',//对谁的uid告白
      "ext_2": '',//告白的状态,告白=1,阅读=2
      "ext_3": '',//是否公开,
      "ext_4": '',//为扩展字段
      "ext_5": '',//为扩展字段,
      "ext_key": ''//使用哪个扩展key ext_1
    }
  },
  "1016": {
    "id": "",
    "controlId": "1016",
    "name": "通用计数",
    "type": "general_num",
    "data": {
      "ele_key": "tree",//tree
      "total": 100,
      "base": 0,
      "day_limit": "3",
      "num": "0",
      "progress": 0,
    }
  },
  "1017": {
    "id": "",
    "controlId": "1017",
    "name": "统计数据",
    "type": "statistic_data",
    "data": {
      "test": 0
      // "blog_total": "6720",
      // "latest_date": "2019-07-28 05:59:54",
      // "rev_like_total": "3",
      // "rev_like_top_mid": "4349602612279496",
      // "trans_total": "6720",
      // "hudong_top": [
      //   ["2465309965", "4859"]
      // ],
      // "topic1": "1",
      // "topic2": "0",
    }
  },
  "1018": {
    "id": "",
    "controlId": "1018",
    "name": "每天计数",
    "type": "number_dayexists",
    "data": {
      "isNumber": false,//已打卡
      "isGlobal": false,//全局 每日计数
      "relateCompId": '',//关联按钮状态
    }
  },
}


export {
  WbComponentDatas
}